const Layout = () => import('@/layout/index.vue')

export default {
  path: '/userManagement',
  name: 'UserManagement',
  component: Layout,
  redirect: '/welcome',
  meta: {
    icon: '#icon-shouyegailan',
    activeIcon: '#icon-shouyegailan-tianchong-1',
    title: '用户管理',
    rank: 0
  },
  children: [
    {
      path: '/user',
      name: 'User',
      component: () => import('@/views/userManagement/user/index.vue'),
      meta: {
        title: '用户',
        cache: false
      }
    },
    {
      path: '/agent',
      name: 'Agent',
      component: () => import('@/views/userManagement/agent/index.vue'),
      meta: {
        title: '代理'
      }
    }
  ]
}
